package com.ctshk.rpc.starvip.service;

import com.ctshk.common.dto.Result;
import com.ctshk.rpc.starvip.dto.start_vip.SiebelMessage;
import com.ctshk.rpc.starvip.dto.start_vip.transaction.LoyTransaction;
import com.ctshk.rpc.starvip.dto.start_vip.transaction.TransactionQueryDTO;
import com.ctshk.rpc.starvip.req.transaction.StarVipTransactionQueryReq;
import com.ctshk.rpc.starvip.req.transaction.StarVipTransactionReq;

/**
 * @BelongsProject: ctshk-cloud
 * @BelongsPackage: com.ctshk.rpc.starvip.service
 * @Author: hef
 * @CreateTime: 2021-04-14 09:29
 * @Description: 星赏会交易服务
 */
public interface IStarVipTransactionService {
    /**
     * 申请交易
     * @param req
     * @return
     */
    Result<LoyTransaction> transaction(StarVipTransactionReq req);

    /**
     * 取消交易
     * @param req
     * @return
     */
    Result<LoyTransaction> cancelTransaction(StarVipTransactionReq req);

    /**
     * 查询交易
     * @param req
     * @return
     */
    Result<TransactionQueryDTO> queryTransaction(StarVipTransactionQueryReq req);
}
